home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Cafe for Windows 95 & Windows NT 4.0
/
Symantec Visual Cafe for Windows 95 and Windows NT 4.0 (Symantec) (1996).iso
/
vcafe
/
readme.txt
< prev
next >
Wrap
Text File
|
1996-12-14
|
13KB
|
347 lines
README for Symantec Visual Cafe Version 1.0
================================================================
Copyright (c) 1996 by Symantec Corporation. All Rights Reserved.
Table of Contents:
I. Welcome
II. Installation Notes
III. User Tips
IV. Known Problems
V. Contacting Symantec for Technical Support
I. Welcome!
================================================================
Welcome to Symantec Visual Cafe Version 1.0 for Windows 95
and Windows NT. Please take a few minutes to read this file.
II. Installation Notes
================================================================
If you have previously downloaded the Preview Releases, you must
remove them before installing Visual Cafe 1.0.
Run setup.exe. The installation is smooth and intuitive. As with
any new software, please install Visual Cafe in a clean
directory.
Installing and Running the Tutorial
---------------------------------------------------------------
If you are new to Java development, please take the time to work
through the exciting and informative tutorial that is part of
Visual Cafe. This tutorial will provide you with an overview
of Visual Cafe's most powerful features.
If you are using Microsoft's NTFS do not install into a
directories containing spaces.
What's in the Tutorial?
---------------------------------------------------------------
In the Tutorial you will learn how to:
* Design an applet, then build, and install it in a Web page.
* Run the applet in a Web browser.
* Design an application, then build, test, debug, and run it.
III. User Tips
=================================================================
How do I add values for each column in a multi-list control?
When using multiple columns in the multi-list control you must
separate the column values with a semi-colon. Each row is
separated with a ctrl + enter.
*
How do I configure my Web browser to run an applet I created
using custom classes?
When you are ready to view your applet outside the Visual Cafe
environment, you need to make sure that the AppletViewer or your
favorite WWW browser can find the custom classes included with
Visual Cafe. For local browsing, add an environment variable to
your autoexec.bat or system or config.sys file, such as:
CLASSPATH=C:\visualcafe\java\lib\symclass.zip.
*
How do I distribute my applet on a Web server?
-When placing the applet on a WWW server, contact your
Webmaster and verify that the Symantec classes are
available. If the classes are not available on your server,
the Webmaster will need to add them or tell you how
to add them. If you are the Webmaster, the classes in
the symclass.zip file need to be in the server's classpath.
-A solution that works locally, or from a server, is to copy the
\VisualCafe\Java\Lib\symantec directory and all of its contents
to the directory containing the applet. (The subdirectories of
the "symantec" directory contain the Visual Cafe Java runtime
classes.)
-Due to a large number of requests late in the beta cycle of
Visual Cafe, we have included an early version of our Bundler
utility that will allow you to easily figure out which class
files are used by your applet (or application), and need to
be uploaded to your web server. Once your Java app is ready,
execute the following command at the command prompt
(please make sure that \visualcafe\bin is in your path):
Bundler.exe -make -cdb mainclass.cdb -depend listname.dep
mainclass.java
(this is all one command line)
- where mainclass is the name of the main class Java file or the
project name
in this example, listname.dep is the file name where the list
of classes used by your app will be generated. Please note
that Bundler will also list the name of the zip file (if any)
where the class file was found. This will allow you to know
what class files you would need to unzip from each class zip
file used by your app. Please note that in this version,
the file listname.dep has to have a .dep extension.
Please note also that while the java.* class files are logged
in this file, you are not actually required to copy those
to your web server, as they are usually available with
most Internet browsers. Please also note that Bundler takes
the same other command line options as the sj command line
compiler. So, you can add additional class paths, etc.
*
What is the "Execute applet in default HTML viewer" option in
the Project Options dialog?
The "Execute applet in default HTML viewer" option, located in
the Project Options dialog box, allows you to view your applet
in your favorite WWW browser, instead of the AppletViewer,
when executing from the Visual Cafe environment.
*
Will Visual Cafe recognize my own source code?
When adding controls directly within the source editor, it
is recommended that you adhere to the same coding style as
generated by Visual Cafe. This will allow controls you add
to be displayed in the form editor. Controls you add outside
Visual Cafe's tags will not be displayed in the form editor
and will not be affected by automatic code generation.
For example, if you are adding controls within Visual Cafe's
tags in the source editor, you should adhere to Visual Cafe's
coding style. Otherwise, you can add controls outside Visual
Cafe's tags using your own coding style.
*
What do I need to do to enable Remote Debugging?
If you are using cafeRemote on a remote computer for remote
debugging you must modify the autoexec.bat file on that
machine. You must also include VisualCafe\java\bin in your
PATH, and create and set a CLASSPATH system variable
to include all necessary classes for the Applet or Application
you are debugging. Here is an example:
set PATH=C:\VisualCafe\Java\Bin;%PATH%
set CLASSPATH=C:\VisualCafe\Java\Lib;
C:\VisualCafe\Java\Lib\SYMCLASS.ZIP;
C:\VisualCafe\Java\Lib\VECCLASS.ZIP;
C:\VisualCafe\Java\Lib\SYMANTEC.ZIP;
C:\VisualCafe\Java\Lib\SYMANTEC.ZIP;C:\YOUR_CLASSES
Note that a PATH or CLASSPATH statement in your system files
is one continuous line with no spaces or carriage returns.
IV. Known Problems
================================================================
This section lists information on known problems:
* If you encounter an error upon starting Visual Cafe or if your
tool palette appears empty delete the following files from
\visualcafe\bin:
*.rps
*.reg
*.vws
Note: Some of the errors are:
"No starter templates could be found"
"Cannot open local repository"
"Cannot open registry"
These files are platform-dependent and must be regenerated
when switching from one OS to another.
* Due to architectural changes within Visual Cafe projects, we
are not compatible with Preview 1 or 2 .VPJ files.
* When using the Parse All Imports option, we recommend that
you allow the parser to finish parsing before editing or
changing a file. To view the status of the parser, select
Messages from the Visual Cafe Window menu.
* The x and y dimension properties in the Property Inspector
are not applicable for root level objects. No effect is
achieved if you change these settings.
* Visual Cafe introspects class file when they are added to the
Component Library, and allows the setting of basic properties
in the property list if the class follows the Java Beans spec.
Supported properties are: int, boolean, String, String arrays,
Color, Font, URL, and URL arrays. Currently the additional
is/set design pattern for boolean properties is not supported.
* If you would like to disable Live controls you may rename
jblender.dll to jblender.sav.
Low-memory warning on startup
-----------------------------------------------------------------
If the sum of your system's available physical memory (RAM) and
swap space on disk is below a minimal level when Visual
Cafe starts up, a warning dialog will notify you of this
condition. We will advise you to increase swap space (see
below). You have the option of ignoring this warning (answer
"No" to the "Quit?" prompt), and proceeding to run Visual Cafe.
With light use, you may not experience any problems at all. But
with typical use, at some time in the course of your Visual Cafe
session you may begin to see "low virtual memory" warnings from
the operating system. Typical symptoms of running any complex
application with too little available memory are sluggish
performance and unstable system behavior.
If the warning dialog recommends that you increase swap space by
some small amount, such as 2 or 3 MB, please increase minimum
swap space on Windows NT, or free disk space on Windows 95, by
at least 5 MB.
On Windows 95, if the option is selected in
Settings | Control Panel | System | Performance | Virtual Memory
to let the OS manage swap space (this is the default), then
available swap space is simply the amount of free disk space;
but note that there is no guaranteed minimum: if the disk is
full there is no swap space available.
On Windows NT 3.51, Control Panel is started from Program
Manager; on Windows NT 4.0, Control Panel is started from
the Settings menu item, as on Windows 95. The page file
setting that matters most to an application on NT is the
minimum page size setting. On a system with 32 MB RAM,
the minimum swap space should be not less than 20 MB, and
32 MB is better. A reasonable setting for
the maximum is at least twice the minimum.
For further details about virtual memory, see the OS Help
on the System dialog.
JDK Version Incompatibilities
-----------------------------------------------------------------
Symantec Visual Cafe 1.0 supports version 1.0.2 of the Java
Development Kit from Sun Microsystems.
Some behaviors of the java.awt components are not correct on
the Microsoft Windows platforms.
These platform-dependent problems include:
* Buttons and labels do not support foreground or background
colors.
* Checkbox/radiobuttons don't support foreground color.
* Lists size themselves to specific increments (to completely
hold lines of text).
* When building applets/applications for Microsoft Internet
Explorer you should not use the project option for Java
Optimization or the -O switch.
* When calculating the Client area, awt does not take into
account the menubar. As a result your forms may not appear
as WYSIWYG.
* Choice and List components incorrectly display their size and
position if not used in conjunction with a layout manager.
Visual Cafe issues a reshape after the component is added
which addresses this problem. However, if you try to use
descendants of these classes you will need to add a call to
reshape after the component has been added. For example,
Assuming newChoice extends Choice
//{{INIT_CONTROLS
newChoice1 = new newChoice();
newChoice1.reshape(119,72,135,21);
add(newChoice1);
//}}
// Add this section after the init block:
newChoice1.reshape(119,72,135,21);
JDK 1.1 Support:
-----------------------------------------------------------------
We are planning to aggressively support JDK 1.1 as soon as it is
available.
We will provide pre-release versions of Visual Cafe on the
Update Center at cafe.symantec.com that will provide support
for the pre-release versions of JDK 1.1 as they are rolled out
of JavaSoft. You can also count on a free upgrade to Visual Cafe
with JDK 1.1 support shortly after the final version of
JDK 1.1 ships! So, make sure to register on cafe.symantec.com
and subscribe to the mailing list so we can notify
you when new updates to Visual Cafe are available.
V. Contacting Symantec for Technical Support
================================================================
During the first 90 days of your purchase, you may call Technical
support free of charge at (541) 465-8470.
1. Free and unlimited electronic support is available at on
symantec's news server at service.symantec.com.
Please refer to the news groups under
symantec.support.devtools.pc.visual-cafe
Note: your company's firewall may prevent you from accessing
this service.
Support is also available on the usenet newsgroup
comp.lang.java
Send bug reports to Support_javawin@symantec.com
2. If your User ID and Password become inoperative, please send
e-mail notification to Customer Service at
custserv@symantec.com with your name, address, daytime phone
number, ID and password. Please type "Visual Cafe" in the
subject field. We will respond shortly thereafter.
3. If you have lost your Cafe ID set, please send notification
to Customer Service at custserv@symantec.com. In the event
that your information does not appear in our registration
database, we will provide additional avenues for
verification of ownership.
4. For CD purchases or damaged disks please call Customer Service
at 800-441-7234.
* * * * *
Thank you for using Visual Cafe. We are confident it will assist you
with your development efforts.
Sincerely,
The Symantec Internet Tools Team